﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using TM.Data.Contracts;
using TM.DataAccessor;

namespace TM.Data
{
    public class EFRepository<T>:IRepository<T>  where T: class
    {

        private IDataAccessor _dataAccessor;

        public EFRepository(IDataAccessor dataAccessor)
        {
            _dataAccessor = dataAccessor;
        }

        #region Implementation of IRepository<T>

        public IQueryable<T> GetAll()
        {
            throw new NotImplementedException();
        }

        public DataTable GetAllAsDataTable()
        {
            throw new NotImplementedException();
        }

        public T GetById(Guid id)
        {
            throw new NotImplementedException();
        }

        public DataTable GetByIdAsDataTable(Guid id)
        {
            throw new NotImplementedException();
        }

        public IQueryable<T> GetList(Func<T, bool> predicate)
        {
            throw new NotImplementedException();
        }

        public T GetSingle(Func<T, bool> predicate)
        {
            throw new NotImplementedException();
        }

        public T GetFisrt(Func<T, bool> predicate)
        {
            throw new NotImplementedException();
        }

        public bool Insert(T entity)
        {
            throw new NotImplementedException();
        }

        public bool Insert(IList<T> entities)
        {
            throw new NotImplementedException();
        }

        public bool Update(T entity)
        {
            throw new NotImplementedException();
        }

        public bool Update(IList<T> entities)
        {
            throw new NotImplementedException();
        }

        public bool Delete(T entity)
        {
            throw new NotImplementedException();
        }

        public bool Delete(IList<T> entities)
        {
            throw new NotImplementedException();
        }

        public bool Delete(Guid id)
        {
            throw new NotImplementedException();
        }

        public bool Delete(Func<T, bool> predicate)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
